package com.ruoyi.system.domain.ERP;

import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.ToString;
import lombok.experimental.Accessors;
import com.ruoyi.common.annotation.Excel;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.io.Serializable;
import java.util.Date;
import java.math.BigDecimal;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * erp工单bom清单详情对象 bom_info_erp
 *
 * @author ruoyi
 * @date 2023-03-28
 */
@Data
@ToString
@EqualsAndHashCode
@NoArgsConstructor
@Accessors(chain = true)
@TableName("bom_info_erp")
public class BomInfoErp implements Serializable {

private static final long serialVersionUID=1L;


        /** erp工单物料清单主键id */
        @TableId(value = "id")
    private Long id;

        /** 子件主键id */
        @ApiModelProperty(value = "子件主键id")
    private String childId;

        /** 子件编码 */
        @Excel(name = "子件编码")
        @ApiModelProperty(value = "子件编码")
    private String childCode;

        /** 子件规格 */
        @ApiModelProperty(value = "子件规格")
    private String childNorms;

        /** 子件属性 */
        @ApiModelProperty(value = "子件属性")
    private String childAttribute;

        /** 计量单位 */
        @Excel(name = "计量单位")
        @ApiModelProperty(value = "计量单位")
    private String unit;

        /** 基本用量 */
        @Excel(name = "基本用量")
        @ApiModelProperty(value = "基本用量")
    private Double basicDosage;

    /** 子件名称 */
    @Excel(name = "子件名称")
    @ApiModelProperty(value = "子件名称")
    private String childName;

        /** 基础数量 */
        @ApiModelProperty(value = "基础数量")
    private Double baseQuantity;

        @ApiModelProperty(value = "生产订单每行主键id 订单号加行号")
    private String scddErpId;

    @ApiModelProperty(value = "华为任务令")
    private String taskTon;

    @ApiModelProperty(value = "计划编码")
    @TableField(exist = false)
    private String planCode;

        /** 创建者 */
        private String createBy;

        /** 创建时间 */
        private Date createTime;

        /** 更新者 */
        private String updateBy;

        /** 更新时间 */
        private Date updateTime;
}
